<template>
	<view class="pl-30 pr-30 bg">
		<view class="white size-36 ">{{ details.title }}</view>
		<view class="color-9 mt-30 mb-30">{{ details.updatetime }}</view>
		<view class="white" v-html="details.content"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id:null,
				details:{},//
			};
		},
		methods:{
			getDetails () {
				this.$http('api/newapi/gongGaoDetail',{id:this.id}).then(res=>{
					this.details = res
				})
			}
		},
		onLoad ({id}) {
			this.id = id
			this.getDetails()
		}
	}
</script>
	<style>
		page {
			background: #0A0B20;
		}
	</style>
<style lang="scss" scoped>
	page {
		background: #f5f5f5;
	}
	.white{
		color: #3c3c3c;
	}
</style>
